package com.roncoo.student.stu.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roncoo.student.stu.entity.Lecturer;
import com.roncoo.student.stu.entity.LecturerAudit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roncoo.student.stu.entity.OrderInfo;
import com.roncoo.student.stu.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jl
 * @since 2021-03-24
 */
public interface LecturerAuditMapper extends BaseMapper<LecturerAudit> {

    Page select(Page page, Lecturer lecturer, OrderInfo orderInfo, LecturerAudit lecturerAudit, QueryWrapper ew);

    Page  findAll(Page page, LecturerAudit lecturerAudit,QueryWrapper ew);

    Boolean addTeacher(@Param("LecturerAudit") LecturerAudit lecturerAudit);

    List<LecturerAudit> judgeAdd(String lecturerPhone);
}
